package com.hospital.demo.model.dingyuxin;
import org.springframework.stereotype.Repository;
@Repository
public class People {
    private Integer peopleaccount;

    private String name;

    private Integer age;

    private String sex;

    private Integer totalmoney;

    public People(Integer peopleaccount, String name, Integer age, String sex, Integer totalmoney) {
        this.peopleaccount = peopleaccount;
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.totalmoney = totalmoney;
    }

    public People() {
        super();
    }

    public Integer getPeopleaccount() {
        return peopleaccount;
    }

    public void setPeopleaccount(Integer peopleaccount) {
        this.peopleaccount = peopleaccount;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public Integer getTotalmoney() {
        return totalmoney;
    }

    public void setTotalmoney(Integer totalmoney) {
        this.totalmoney = totalmoney;
    }
}